package com.ruoyi.kaoyan.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.core.domain.model.BaseEntityPlus;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.system.domain.SysFileInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.util.List;

/**
 * 分享资料表(EducationFileInfo)表实体类
 *
 * @author jiuling
 * @since 2023-04-26 16:16:09
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class EducationFileInfo extends BaseEntityPlus {
    /**
     * id
     */     
    @Excel(name = "id")
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 用户id
     */     
    @Excel(name = "用户id")
    @ApiModelProperty(value = "用户id")
    private Long userId;

    /**
     * 资料分类id
     */
    @Excel(name = "资料分类id")
    @ApiModelProperty(value = "资料分类id")
    private Long categoryId;

    /**
     * 资料名称
     */
    @Excel(name = "资料名称")
    @ApiModelProperty(value = "资料名称")
    private String name;

    /**
     * 文件groupID
     */     
    @Excel(name = "文件groupID")
    @ApiModelProperty(value = "文件groupID")
    private String fileGroupId;

    /**
     * 审核标记（null：待审核 1：审核通过 0：审核不通过）
     */
    @Excel(name = "审核标记")
    @ApiModelProperty(value = "审核标记（null：待审核 1：审核通过 0：审核不通过）")
    private Integer verFlag;

    @ApiModelProperty(value = "资料关联专业名称")
    private String majorName;

    @ApiModelProperty(value = "资料关联学校名称")
    private String schoolName;

    @TableField(exist = false)
    @ApiModelProperty(value = "多文件地址")
    private List<SysFileInfo> fileInfoList;

    @TableField(exist = false)
    @ApiModelProperty("单文件地址")
    private String filePath;

    @TableField(exist = false)
    @ApiModelProperty(value = "用户姓名")
    private String userName;

    @ApiModelProperty(value = "资料分类名称")
    @TableField(exist = false)
    private String categoryName;

}
